package com.cdtye.shuoh.mapper.product;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cdtye.shuoh.domain.product.entity.ProductProperties;
import com.cdtye.shuoh.domain.product.vo.ProductPropertiesVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 产品模型服务属性表 Mapper 接口
 * @author 
 * @date 2022-12-21
 */
@Repository
public interface ProductPropertiesMapper extends BaseMapper<ProductProperties> {
    IPage<ProductProperties> pageList(Page page,@Param("vo") ProductPropertiesVo vo);

    List<ProductProperties> list(@Param("vo") ProductPropertiesVo vo);

    int deleteByServiceId(@Param("serviceId") String serviceId);
}
